package com.efast.dmom.mes.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

import com.efast.dmom.mes.entity.base.WmsBaseEntity;


/**
 * The persistent class for the wms_storage_log database table.
 * 
 */
@Entity
@Table(name="wms_storage_log")
@NamedQuery(name="WmsStorageLogEntity.findAll", query="SELECT w FROM WmsStorageLogEntity w")
public class WmsStorageLogEntity extends WmsBaseEntity {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="storage_log_id")
	private long storageLogId;

	@Column(name="current_quality")
	private double currentQuality;

	@Column(name="original_quality")
	private double originalQuality;

	@Column(name="part_id")
	private long partId;

	private String remark;

	private String unit;
	
	private double unitPrice;

	@Column(name="warehouse_id")
	private long warehouseId;

	public WmsStorageLogEntity() {
	}

	public long getStorageLogId() {
		return this.storageLogId;
	}

	public void setStorageLogId(long storageLogId) {
		this.storageLogId = storageLogId;
	}


	public long getPartId() {
		return this.partId;
	}

	public void setPartId(long partId) {
		this.partId = partId;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getUnit() {
		return this.unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public long getWarehouseId() {
		return this.warehouseId;
	}

	public void setWarehouseId(long warehouseId) {
		this.warehouseId = warehouseId;
	}

	public double getUnitPrice() {
		return unitPrice;
	}

	public void setUnitPrice(double unitPrice) {
		this.unitPrice = unitPrice;
	}

	public double getCurrentQuality() {
		return currentQuality;
	}

	public void setCurrentQuality(double currentQuality) {
		this.currentQuality = currentQuality;
	}

	public double getOriginalQuality() {
		return originalQuality;
	}

	public void setOriginalQuality(double originalQuality) {
		this.originalQuality = originalQuality;
	}

}